package com.example.demo.module;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("user")
public class User {
    @TableId
    private String id;
    @TableField(value = "usercode",insertStrategy = FieldStrategy.NOT_EMPTY)
    private String userCode;
    @TableField(exist = false)
    private String username;
}
